import Layout from '@/layout'

const leadershipRouter = {
  path: '/leadership',
  component: Layout,
  redirect: '/leadership/index',
  name: 'Leadership',
  meta: {
    title: '领导之窗管理',
    icon: 'clipboard',
    //roles: ['admin'] //系统设置和部门管理只有超级管理员有权限
  },
  children: [
    {
      path: 'index',
      name: 'LeadershipIndex',
      component: () => import('@/views/leadership/index'),
      meta: {
        title: '领导之窗列表',
        icon: 'clipboard',
        //roles: ['admin']
      }
    }
  ]
}

export default leadershipRouter  //collate
